package com.ruoyi.supplier.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点对象 tb_store_shelf
 * 
 * @author ruoyi
 * @date 2021-03-08
 */
public class TbStoreShelf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存盘点表 */
    private Long id;

    /** 盘点名称 */
    @Excel(name = "盘点名称")
    private String shelfName;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String shelfNumber;

    /** 实物盘点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实物盘点时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shelfDate;

    /** 仓库表ID */
    @Excel(name = "仓库表ID")
    private Long storeId;
    /** 门店类型ID */
    private Long sId;
    /** 门店类型 */
    private String sName;

    /** 盘点状态 */
    @Excel(name = "盘点状态")
    private Long status;

    private String storeName;

    /** 库存盘点明细信息 */
    private List<TbStoreShelfDetail> tbStoreShelfDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShelfName(String shelfName) 
    {
        this.shelfName = shelfName;
    }

    public String getShelfName() 
    {
        return shelfName;
    }
    public void setShelfNumber(String shelfNumber) 
    {
        this.shelfNumber = shelfNumber;
    }

    public String getShelfNumber() 
    {
        return shelfNumber;
    }
    public void setShelfDate(Date shelfDate) 
    {
        this.shelfDate = shelfDate;
    }

    public Date getShelfDate() 
    {
        return shelfDate;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Long getsId() {
        return sId;
    }

    public void setsId(Long sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public List<TbStoreShelfDetail> getTbStoreShelfDetailList()
    {
        return tbStoreShelfDetailList;
    }

    public void setTbStoreShelfDetailList(List<TbStoreShelfDetail> tbStoreShelfDetailList)
    {
        this.tbStoreShelfDetailList = tbStoreShelfDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shelfName", getShelfName())
            .append("shelfNumber", getShelfNumber())
            .append("shelfDate", getShelfDate())
            .append("storeId", getStoreId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("tbStoreShelfDetailList", getTbStoreShelfDetailList())
            .toString();
    }
}
